<template>
  <div class="index-container">
    <el-page-header
      class="detailheader"
      content="代课申报修改提交"
      :icon="ArrowLeft"
      @back="goBack"
    />
    <div class="page__cont">
      <DksbEdit />
    </div>
  </div>
</template>

<script>
  // import { defineComponent, getCurrentInstance, reactive, toRefs } from 'vue'
  import router from '@/router'
  import DksbEdit from '../components/DksbEdit.vue'
  import { ArrowLeft } from '@element-plus/icons-vue'
  export default defineComponent({
    name: 'Index',
    components: {
      DksbEdit,
    },
    setup() {
      const goBack = () => {
        router.go(-1)
      }
      return { ArrowLeft, goBack }
    },
  })
</script>

<style lang="scss" scoped>
  .index-container {
    .detailheader {
      height: 58px;
      line-height: 58px;
      border-bottom: 1px var(--el-border-color) var(--el-border-style);
    }
    .page__cont {
      max-width: 800px;
      margin: 0 auto;
    }
  }
</style>
